package com.tyg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangjingnan
 * @since 2022-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ExercisesInfo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "exercisesId", type = IdType.AUTO)
    private Integer exercisesId;

    /**
     * 体育锻炼名称
     */
    @TableField("exercisesName")
    private String exercisesName;

    /**
     * 内容介绍
     */
    @TableField("exercisesContent")
    private String exercisesContent;

    /**
     * 图片
     */
    private String photo;

    /**
     * 好处
     */
    @TableField("exercisesGood")
    private String exercisesGood;

    /**
     * 0发布  1撤回 2删除
     */
    private Integer status;

    /**
     * 用户id
     */
    @TableField("workId")
    private Integer workId;

    /**
     * 用户姓名
     */
    @TableField(exist = false)
    private String workName;


}
